<%@ page import="cn.entity.News2" %><%--
  Created by IntelliJ IDEA.
  User: 范军建
  Date: 2022/4/6
  Time: 13:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%
  News2 news2 = (News2) session.getAttribute("news");

%>
<div>
    <form action="FormManage.jsp" method="post">
        <input type="text" name="name1" hidden value="<%=news2.getId()%>"/>
        主题：<input type="text" name="name2" value="<%=news2.getName()%>"/>
        <input type="submit" value="修改"/>

    </form>
</div>
</body>
</html>
zxzx